package com.mrd.gtimp.base.service;

import com.mrd.base.BaseBiz;
import com.mrd.exception.QueryException;
import com.mrd.gtimp.base.entity.SystemInterface;
import com.mrd.gtimp.base.repository.SystemInterfaceDao;
import com.mrd.spring.repository.BaseRepository;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

import javax.annotation.Resource;

/**
 * <p> application name: gtimp <p> copyright: Copyright@2012 明睿达科技有限公司
 */

/**
 * @author qiul
 */
@Service
public class SystemInterfaceBiz extends BaseBiz<SystemInterface> {
    @Resource
    private SystemInterfaceDao systemInterfaceDao;


    @Resource
    // 该处指定注入BaseRepository的dao对象
    @Qualifier("systemInterfaceDao")
    public void setBaseRepository(BaseRepository<SystemInterface, String> baseRepository) {
        super.baseRepository = baseRepository;
    }

	/*
     * (non-Javadoc)
	 * @see com.mrd.gtimp.base.biz.SystemInterfaceBiz#findSystemInterface(java.lang.String,
	 * java.lang.String)
	 */

    public List<SystemInterface> findSystemInterface(String cid, String type) throws QueryException {
        // TODO: 2016/8/17  
        //return systemInterfaceDao.findSystemInterface(cid, type);
        return null;
    }

}
